<?php
$wages = [
    "市场部" => [
        [1,"杨朝","市场经理",8000],
        [1,"杨朝","市场经理",8000],
    ],
    "产品部" =>[
        [1,"杨朝","市场经理",8000],
        [1,"杨朝","市场经理",8000],
    ],
    "财务部" =>[
        [1,"杨朝","市场经理",8000],
        [1,"杨朝","市场经理",8000],
    ],
];
foreach ($wages as $bumen=>$persons){
    echo $bumen,"部门人员如下：\n";
    foreach ($persons as $person){
        foreach ($person as $item){
            echo $item,"\t";
        }
        echo "\n";
    }
}